#    define MEXIF_TAGID_OLYMPUS_MakerNoteVersion    0x0000
#    define MEXIF_TAGID_OLYMPUS_MinoltaCameraSettingsOld  0x0001
#    define MEXIF_TAGID_OLYMPUS_MinoltaCameraSettings  0x0003
#    define MEXIF_TAGID_OLYMPUS_CompressedImageSize 0x0040
#    define MEXIF_TAGID_OLYMPUS_PreviewImageData    0x0081
#    define MEXIF_TAGID_OLYMPUS_PreviewImageStart   0x0088
#    define MEXIF_TAGID_OLYMPUS_PreviewImageLength  0x0089
#    define MEXIF_TAGID_OLYMPUS_ThumbnailImage      0x0100
#    define MEXIF_TAGID_OLYMPUS_ColorMode           0x0101
#    define MEXIF_TAGID_OLYMPUS_MinoltaQuality      0x0102
#    define MEXIF_TAGID_OLYMPUS_MinoltaQuality2     0x0103
#    define MEXIF_TAGID_OLYMPUS_BodyFirmwareVersion 0x0104
#    define MEXIF_TAGID_OLYMPUS_SpecialMode         0x0200
#    define MEXIF_TAGID_OLYMPUS_Quality             0x0201
#    define MEXIF_TAGID_OLYMPUS_Macro               0x0202
#    define MEXIF_TAGID_OLYMPUS_BWMode              0x0203
#    define MEXIF_TAGID_OLYMPUS_DigitalZoom         0x0204
#    define MEXIF_TAGID_OLYMPUS_FocalPlaneDiagonal  0x0205
#    define MEXIF_TAGID_OLYMPUS_LensDistortionParams  0x0206
#    define MEXIF_TAGID_OLYMPUS_CameraType          0x0207
#    define MEXIF_TAGID_OLYMPUS_TextInfo            0x0208
#    define MEXIF_TAGID_OLYMPUS_CameraID            0x0209
#    define MEXIF_TAGID_OLYMPUS_EpsonImageWidth     0x020b
#    define MEXIF_TAGID_OLYMPUS_EpsonImageHeight    0x020c
#    define MEXIF_TAGID_OLYMPUS_EpsonSoftware       0x020d
#    define MEXIF_TAGID_OLYMPUS_PreviewImage        0x0280
#    define MEXIF_TAGID_OLYMPUS_PreCaptureFrames    0x0300
#    define MEXIF_TAGID_OLYMPUS_WhiteBoard          0x0301
#    define MEXIF_TAGID_OLYMPUS_OneTouchWB          0x0302
#    define MEXIF_TAGID_OLYMPUS_WhiteBalanceBracket 0x0303
#    define MEXIF_TAGID_OLYMPUS_WhiteBalanceBias    0x0304
#    define MEXIF_TAGID_OLYMPUS_SceneMode           0x0403
#    define MEXIF_TAGID_OLYMPUS_SerialNumber        0x0404
#    define MEXIF_TAGID_OLYMPUS_Firmware            0x0405
#    define MEXIF_TAGID_OLYMPUS_PrintIM             0x0e00
#    define MEXIF_TAGID_OLYMPUS_DataDump            0x0f00
#    define MEXIF_TAGID_OLYMPUS_DataDump2           0x0f01
#    define MEXIF_TAGID_OLYMPUS_ShutterSpeedValue   0x1000
#    define MEXIF_TAGID_OLYMPUS_ISOValue            0x1001
#    define MEXIF_TAGID_OLYMPUS_ApertureValue       0x1002
#    define MEXIF_TAGID_OLYMPUS_BrightnessValue     0x1003
#    define MEXIF_TAGID_OLYMPUS_FlashMode           0x1004
#    define MEXIF_TAGID_OLYMPUS_FlashDevice         0x1005
#    define MEXIF_TAGID_OLYMPUS_ExposureCompensation  0x1006
#    define MEXIF_TAGID_OLYMPUS_SensorTemperature   0x1007
#    define MEXIF_TAGID_OLYMPUS_LensTemperature     0x1008
#    define MEXIF_TAGID_OLYMPUS_LightCondition      0x1009
#    define MEXIF_TAGID_OLYMPUS_FocusRange          0x100a
#    define MEXIF_TAGID_OLYMPUS_FocusMode           0x100b
#    define MEXIF_TAGID_OLYMPUS_ManualFocusDistance 0x100c
#    define MEXIF_TAGID_OLYMPUS_ZoomStepCount       0x100d
#    define MEXIF_TAGID_OLYMPUS_FocusStepCount      0x100e
#    define MEXIF_TAGID_OLYMPUS_Sharpness           0x100f
#    define MEXIF_TAGID_OLYMPUS_FlashChargeLevel    0x1010
#    define MEXIF_TAGID_OLYMPUS_ColorMatrix         0x1011
#    define MEXIF_TAGID_OLYMPUS_BlackLevel          0x1012
#    define MEXIF_TAGID_OLYMPUS_ColorTemperatureBG  0x1013
#    define MEXIF_TAGID_OLYMPUS_ColorTemperatureRG  0x1014
#    define MEXIF_TAGID_OLYMPUS_WBMode              0x1015
#    define MEXIF_TAGID_OLYMPUS_RedBalance          0x1017
#    define MEXIF_TAGID_OLYMPUS_BlueBalance         0x1018
#    define MEXIF_TAGID_OLYMPUS_ColorMatrixNumber   0x1019
#    define MEXIF_TAGID_OLYMPUS_SerialNumber2       0x101a
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashAE1_0  0x101b
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashAE2_0  0x101c
#    define MEXIF_TAGID_OLYMPUS_InternalFlashAE1_0  0x101d
#    define MEXIF_TAGID_OLYMPUS_InternalFlashAE2_0  0x101e
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashAE1    0x101f
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashAE2    0x1020
#    define MEXIF_TAGID_OLYMPUS_InternalFlashAE1    0x1021
#    define MEXIF_TAGID_OLYMPUS_InternalFlashAE2    0x1022
#    define MEXIF_TAGID_OLYMPUS_FlashExposureComp   0x1023
#    define MEXIF_TAGID_OLYMPUS_InternalFlashTable  0x1024
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashGValue 0x1025
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashBounce 0x1026
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashZoom   0x1027
#    define MEXIF_TAGID_OLYMPUS_ExternalFlashMode   0x1028
#    define MEXIF_TAGID_OLYMPUS_Contrast            0x1029
#    define MEXIF_TAGID_OLYMPUS_SharpnessFactor     0x102a
#    define MEXIF_TAGID_OLYMPUS_ColorControl        0x102b
#    define MEXIF_TAGID_OLYMPUS_ValidBits           0x102c
#    define MEXIF_TAGID_OLYMPUS_CoringFilter        0x102d
#    define MEXIF_TAGID_OLYMPUS_OlympusImageWidth   0x102e
#    define MEXIF_TAGID_OLYMPUS_OlympusImageHeight  0x102f
#    define MEXIF_TAGID_OLYMPUS_SceneDetect         0x1030
#    define MEXIF_TAGID_OLYMPUS_SceneArea           0x1031
#    define MEXIF_TAGID_OLYMPUS_SceneDetectData     0x1033
#    define MEXIF_TAGID_OLYMPUS_CompressionRatio    0x1034
#    define MEXIF_TAGID_OLYMPUS_PreviewImageValid   0x1035
#    define MEXIF_TAGID_OLYMPUS_PreviewImageStart2  0x1036
#    define MEXIF_TAGID_OLYMPUS_PreviewImageLength2 0x1037
#    define MEXIF_TAGID_OLYMPUS_AFResult            0x1038
#    define MEXIF_TAGID_OLYMPUS_CCDScanMode         0x1039
#    define MEXIF_TAGID_OLYMPUS_NoiseReduction      0x103a
#    define MEXIF_TAGID_OLYMPUS_InfinityLensStep    0x103b
#    define MEXIF_TAGID_OLYMPUS_NearLensStep        0x103c
#    define MEXIF_TAGID_OLYMPUS_LightValueCenter    0x103d
#    define MEXIF_TAGID_OLYMPUS_LightValuePeriphery 0x103e
#    define MEXIF_TAGID_OLYMPUS_FieldCount          0x103f
#    define MEXIF_TAGID_OLYMPUS_Equipment           0x2010
#    define MEXIF_TAGID_OLYMPUS_CameraSettings      0x2020
#    define MEXIF_TAGID_OLYMPUS_RawDevelopment      0x2030
#    define MEXIF_TAGID_OLYMPUS_RawDevelopment2     0x2031
#    define MEXIF_TAGID_OLYMPUS_ImageProcessing     0x2040
#    define MEXIF_TAGID_OLYMPUS_FocusInfo           0x2050
#    define MEXIF_TAGID_OLYMPUS_Olympus2100         0x2100
#    define MEXIF_TAGID_OLYMPUS_Olympus2200         0x2200
#    define MEXIF_TAGID_OLYMPUS_Olympus2300         0x2300
#    define MEXIF_TAGID_OLYMPUS_Olympus2400         0x2400
#    define MEXIF_TAGID_OLYMPUS_Olympus2500         0x2500
#    define MEXIF_TAGID_OLYMPUS_Olympus2600         0x2600
#    define MEXIF_TAGID_OLYMPUS_Olympus2700         0x2700
#    define MEXIF_TAGID_OLYMPUS_Olympus2800         0x2800
#    define MEXIF_TAGID_OLYMPUS_Olympus2900         0x2900
#    define MEXIF_TAGID_OLYMPUS_RawInfo             0x3000
#    define _MEXIF_TAGID_OLYMPUS_Count              115

#    define MEXIF_TAGID_OLYMPUS_Equipment_EquipmentVersion  0x0000
#    define MEXIF_TAGID_OLYMPUS_Equipment_CameraType2  0x0100
#    define MEXIF_TAGID_OLYMPUS_Equipment_SerialNumber  0x0101
#    define MEXIF_TAGID_OLYMPUS_Equipment_InternalSerialNumber  0x0102
#    define MEXIF_TAGID_OLYMPUS_Equipment_FocalPlaneDiagonal  0x0103
#    define MEXIF_TAGID_OLYMPUS_Equipment_BodyFirmwareVersion  0x0104
#    define MEXIF_TAGID_OLYMPUS_Equipment_LensType  0x0201
#    define MEXIF_TAGID_OLYMPUS_Equipment_LensSerialNumber  0x0202
#    define MEXIF_TAGID_OLYMPUS_Equipment_LensFirmwareVersion  0x0204
#    define MEXIF_TAGID_OLYMPUS_Equipment_MaxApertureAtMinFocal  0x0205
#    define MEXIF_TAGID_OLYMPUS_Equipment_MaxApertureAtMaxFocal  0x0206
#    define MEXIF_TAGID_OLYMPUS_Equipment_MinFocalLength  0x0207
#    define MEXIF_TAGID_OLYMPUS_Equipment_MaxFocalLength  0x0208
#    define MEXIF_TAGID_OLYMPUS_Equipment_MaxApertureAtCurrentFocal  0x020a
#    define MEXIF_TAGID_OLYMPUS_Equipment_LensProperties  0x020b
#    define MEXIF_TAGID_OLYMPUS_Equipment_Extender  0x0301
#    define MEXIF_TAGID_OLYMPUS_Equipment_ExtenderSerialNumber  0x0302
#    define MEXIF_TAGID_OLYMPUS_Equipment_ExtenderModel  0x0303
#    define MEXIF_TAGID_OLYMPUS_Equipment_ExtenderFirmwareVersion  0x0304
#    define MEXIF_TAGID_OLYMPUS_Equipment_FlashType 0x1000
#    define MEXIF_TAGID_OLYMPUS_Equipment_FlashModel  0x1001
#    define MEXIF_TAGID_OLYMPUS_Equipment_FlashFirmwareVersion  0x1002
#    define MEXIF_TAGID_OLYMPUS_Equipment_FlashSerialNumber  0x1003
#    define _MEXIF_TAGID_OLYMPUS_Equipment_Count    23

#    define MEXIF_TAGID_OLYMPUS_CameraSettings_CameraSettingsVersion  0x0000
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PreviewImageValid  0x0100
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PreviewImageStart  0x0101
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PreviewImageLength  0x0102
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ExposureMode  0x0200
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_AELock  0x0201
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_MeteringMode  0x0202
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_MacroMode  0x0300
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_FocusMode  0x0301
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_FocusProcess  0x0302
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_AFSearch  0x0303
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_AFAreas  0x0304
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_FlashMode  0x0400
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_FlashExposureCompensation  0x0401
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_WhiteBalance2  0x0500
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_WhiteBalanceTemperature  0x0501
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_WhiteBalanceBracket  0x0502
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_CustomSaturation  0x0503
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ModifiedSaturation  0x0504
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ContrastSetting  0x0505
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_SharpnessSetting  0x0506
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ColorSpace  0x0507
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_SceneMode  0x0509
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_NoiseReduction  0x050a
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_DistortionCorrection  0x050b
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ShadingCompensation  0x050c
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_CompressionFactor  0x050d
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_Gradation  0x050f
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PictureMode  0x0520
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PictureModeSaturation  0x0521
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PictureModeHue  0x0522
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PictureModeContrast  0x0523
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PictureModeSharpness  0x0524
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PictureModeBWFilter  0x0525
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PictureModeTone  0x0526
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_NoiseFilter  0x0527
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_DriveMode  0x0600
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_PanoramaMode  0x0601
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ImageQuality2  0x0603
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ManometerPressure  0x0900
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ManometerReading  0x0901
#    define MEXIF_TAGID_OLYMPUS_CameraSettings_ExtendedWBDetect  0x0902
#    define _MEXIF_TAGID_OLYMPUS_CameraSettings_Count  42

#    define MEXIF_TAGID_OLYMPUS_FocusInfo_FocusInfoVersion  0x0000
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_AutoFocus 0x0209
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_SceneDetect  0x0210
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_SceneArea 0x0211
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_SceneDetectData  0x0212
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_ZoomStepCount  0x0300
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_FocusStepCount  0x0301
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_FocusStepInfinity  0x0303
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_FocusStepNear  0x0304
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_FocusDistance  0x0305
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_AFPoint   0x0308
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_ExternalFlash  0x1201
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_ExternalFlashGuideNumber  0x1203
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_ExternalFlashBounce  0x1204
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_ExternalFlashZoom  0x1205
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_InternalFlash  0x1208
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_ManualFlash  0x1209
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_SensorTemperature  0x1500
#    define MEXIF_TAGID_OLYMPUS_FocusInfo_ImageStabilization  0x1600
#    define _MEXIF_TAGID_OLYMPUS_FocusInfo_Count    19



extern mexif_tagdb_t mexif_OLYMPUS_db[_MEXIF_TAGID_OLYMPUS_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_OLYMPUS_search( unsigned int tagid );
extern mexif_tagdb_t mexif_OLYMPUS_Equipment_db[_MEXIF_TAGID_OLYMPUS_Equipment_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_OLYMPUS_Equipment_search( unsigned int tagid );
extern mexif_tagdb_t mexif_OLYMPUS_CameraSettings_db[_MEXIF_TAGID_OLYMPUS_CameraSettings_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_OLYMPUS_CameraSettings_search( unsigned int tagid );
extern mexif_tagdb_t mexif_OLYMPUS_FocusInfo_db[_MEXIF_TAGID_OLYMPUS_FocusInfo_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_OLYMPUS_FocusInfo_search( unsigned int tagid );


